home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Sharing Fun! I Know My Savior Lives / Sunday Savers: Sharing Fun! I Know My Savior Lives.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1152.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.3 KB  |  121 lines

  1. 41
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. MemoryInfo 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baMemoryInfo returns information about system memory.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baMemoryInfo( InfoType )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String. 
  36. --- RECORDSEPARATOR ---
  37. InfoType is the type of information to get. Can be: 
  38. --- RECORDSEPARATOR ---
  39. "ram" 
  40. --- RECORDSEPARATOR ---
  41. the amount of physical ram installed -
  42. --- RECORDSEPARATOR ---
  43.  Win, Mac
  44. --- RECORDSEPARATOR ---
  45.  
  46. --- RECORDSEPARATOR ---
  47. "free ram" 
  48. --- RECORDSEPARATOR ---
  49. the amount of physical ram not being used -
  50. --- RECORDSEPARATOR ---
  51.  Win, Mac
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. "swap" 
  56. --- RECORDSEPARATOR ---
  57. the size of the current swap file -
  58. --- RECORDSEPARATOR ---
  59.  Win
  60. --- RECORDSEPARATOR ---
  61.  
  62. --- RECORDSEPARATOR ---
  63. "free swap" 
  64. --- RECORDSEPARATOR ---
  65. the amount of the swap file not being used -
  66. --- RECORDSEPARATOR ---
  67.  Win
  68. --- RECORDSEPARATOR ---
  69.  
  70. --- RECORDSEPARATOR ---
  71. ΓÇ£freeΓÇ¥ 
  72. --- RECORDSEPARATOR ---
  73. the amount of free memory, including physical and virtual 
  74. --- RECORDSEPARATOR ---
  75. -
  76. --- RECORDSEPARATOR ---
  77.  Mac
  78. --- RECORDSEPARATOR ---
  79.  
  80. --- RECORDSEPARATOR ---
  81. ΓÇ£max blockΓÇ¥ 
  82. --- RECORDSEPARATOR ---
  83. the largest block of memory, including physical and virtual 
  84. --- RECORDSEPARATOR ---
  85. -
  86. --- RECORDSEPARATOR ---
  87.  Mac
  88. --- RECORDSEPARATOR ---
  89.  
  90. --- RECORDSEPARATOR ---
  91. Returns:
  92. --- RECORDSEPARATOR ---
  93.  
  94. --- RECORDSEPARATOR ---
  95. Integer. 
  96. --- RECORDSEPARATOR ---
  97. Returns the information in bytes.
  98. --- RECORDSEPARATOR ---
  99.  
  100. --- RECORDSEPARATOR ---
  101. Examples:
  102. --- RECORDSEPARATOR ---
  103.  
  104. --- RECORDSEPARATOR ---
  105. Director: 
  106. --- RECORDSEPARATOR ---
  107. set ram = baMemoryInfo( "ram" ) 
  108. --- RECORDSEPARATOR ---
  109. Authorware: 
  110. --- RECORDSEPARATOR ---
  111. free := baMemoryInfo( "free ram" )
  112. --- RECORDSEPARATOR ---
  113.  
  114. --- RECORDSEPARATOR ---
  115. Notes:
  116. --- RECORDSEPARATOR ---
  117.  
  118. --- RECORDSEPARATOR ---
  119. Under OSX, the free and max block options return a large meaningless number. 
  120. --- RECORDSEPARATOR ---
  121. This is due to the memory management system of OSX.